﻿using SqlSugar;
namespace Hospital.Model.entity
{
    //住院表
    public class Hospitalization : BaseId
    {
        public int WardId { get; set; } //关联房间
        [SugarColumn(IsIgnore = true)]
        public Ward Ward { get; set; }
        public int VisitRecordsId { get; set; } //关联就诊记录
        [SugarColumn(IsIgnore = true)]
        public VisitRecords VisitRecords { get; set; }
        public DateTime StartData { get; set; } = DateTime.Now;
        public DateTime EndData { get; set; }
    }
}
